package com.sakiko.persistence.service;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;

/**
 * projectName: com.sakiko.persistence.service
 *
 * @author: sakiko
 * time: 2025/8/28 14:17
 * description: ai-service接口 同 chat-memory
 */
public interface ChatPersistenceAssistant {

    /**
     * @param userId 用户 id
     * @param message 消息
     * return <String>
     */
    String chat(@MemoryId Long userId, @UserMessage String message);
}
